Skip to content

refactor: replace dirctl binary with native code#65

Closed
arpad-csepi wants to merge 2 commits into
mainfrom
refactor/native-local-sign-verify
Closed

refactor: replace dirctl binary with native code#65
arpad-csepi wants to merge 2 commits into
mainfrom
refactor/native-local-sign-verify

Conversation

@arpad-csepi

Copy link
Copy Markdown
Member

No description provided.

@arpad-csepi arpad-csepi self-assigned this Jun 26, 2026
@arpad-csepi arpad-csepi force-pushed the refactor/native-local-sign-verify branch from cc33fa3 to 1f972fd Compare June 26, 2026 10:14
Comment thread dir-sdk-python/agntcy/dir_sdk/client/signing/cosign_keys.py Fixed
)
from nacl.secret import SecretBox

_ENCRYPTED_KEY_TYPES = (
Comment thread dir-sdk-python/agntcy/dir_sdk/client/signing/sign_oidc.py Fixed
Comment thread dir-sdk-python/agntcy/dir_sdk/client/signing/verify.py Fixed
Comment thread dir-sdk-python/agntcy/dir_sdk/client/signing/verify.py Fixed
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
@arpad-csepi arpad-csepi force-pushed the refactor/native-local-sign-verify branch from 1f972fd to 3d94ae0 Compare June 26, 2026 10:19
for other_name in san_ext.get_values_for_type(OtherName):
if other_name.type_id.dotted_string == _OTHERNAME_OID:
identities.add(other_name.value.decode())
except Exception:
@arpad-csepi arpad-csepi force-pushed the refactor/native-local-sign-verify branch from f3ceaf8 to 4ec974f Compare June 26, 2026 12:59
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
@arpad-csepi arpad-csepi force-pushed the refactor/native-local-sign-verify branch from 4ec974f to 68939da Compare June 26, 2026 13:06
try:
issuer_ext = cert.extensions.get_extension_for_oid(_FULCIO_ISSUER_OID).value
issuer = _decode_fulcio_extension_string(issuer_ext.value) # type: ignore[attr-defined]
except ExtensionNotFound:
@arpad-csepi

Copy link
Copy Markdown
Member Author

The solution needs more work and a different approach might be better in the end.

@arpad-csepi arpad-csepi closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants